//package com.exrobot.module.rbt.dal.mysql.salefood;
//
//import java.util.*;
//
//import com.exrobot.framework.common.pojo.PageResult;
//import com.exrobot.framework.mybatis.core.query.LambdaQueryWrapperX;
//import com.exrobot.framework.mybatis.core.mapper.BaseMapperX;
//import com.exrobot.module.rbt.dal.dataobject.salefood.SaleFoodDO;
//import org.apache.ibatis.annotations.Mapper;
//import com.exrobot.module.rbt.controller.admin.salefood.vo.*;
//
///**
// * 可销售食品 Mapper
// *
// * @author 超级管理员
// */
//@Mapper
//public interface SaleFoodMapper extends BaseMapperX<SaleFoodDO> {
//
//    default PageResult<SaleFoodDO> selectPage(SaleFoodPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<SaleFoodDO>()
//                .eqIfPresent(SaleFoodDO::getRobotSn, reqVO.getRobotSn())
//                .eqIfPresent(SaleFoodDO::getRobotBoxSn, reqVO.getRobotBoxSn())
//                .eqIfPresent(SaleFoodDO::getCanteenId, reqVO.getCanteenId())
//                .eqIfPresent(SaleFoodDO::getMenuId, reqVO.getMenuId())
//                .eqIfPresent(SaleFoodDO::getPrice, reqVO.getPrice())
//                .eqIfPresent(SaleFoodDO::getNum, reqVO.getNum())
//                .betweenIfPresent(SaleFoodDO::getMealDate, reqVO.getMealDate())
//                .eqIfPresent(SaleFoodDO::getMealTimes, reqVO.getMealTimes())
//                .betweenIfPresent(SaleFoodDO::getCreateTime, reqVO.getCreateTime())
//                .orderByDesc(SaleFoodDO::getId));
//    }
//
//}